#!/usr/bin/env python

from pylab import *

fp = open('weights_dcds.txt', 'w')


# 250个采样点
# @0.156MHz
w_size = 198

for cnt in range(w_size):
    for os in range(16):
#        if cnt >= 32 and cnt <= 90:
#            w = 1./59
#        elif cnt >= 115 and cnt <= 166:
#            w = -1./52
#        else:
#            w = 0

        if cnt >= 38 and cnt <= 88:
            w = 1./51
        elif cnt >= 120 and cnt <= 170:
            w = -1./51
        else:
            w = 0

        fp.write('%12.8f '%(w)) 

    fp.write('\n')
fp.close()



